﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage/AdminSubMasterPage.master" AutoEventWireup="true" CodeFile="NoSAPFin001a.aspx.cs" Inherits="Admin_NoSAPFin_NoSAPFin001a" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script type="text/javascript" src="/Scripts/Controls/DatePicker/WdatePicker.js""></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="Service_table_tow">
        <tr>
            <td colspan="4" class="xin_y1 caption" align="center">
                新增Non-SAP凭证信息
            </td>
        </tr>
        <%--<tr>
            <td class="xin_y2">
                凭证盒条码:
            </td>
            <td>
                <yncWeb:yncTextBox ID="txtBoxNo" runat="server" Required="true"></yncWeb:yncTextBox>
            </td>
            <td class="xin_y2">
                外仓条形码:
            </td>
            <td>
                <yncWeb:yncTextBox ID="txtSupplierBoxNo" runat="server" Required="true"></yncWeb:yncTextBox>
            </td>     
        </tr>--%>
        <tr>
            <td class="xin_y2">
                文档描述:
            </td>
            <td>
                <yncWebDDL:DrpCodeTable ID="drpVoucherDescription" runat="server" Category="CTE006" Required="true" ShowSelectedItem="true">
                </yncWebDDL:DrpCodeTable>
            </td>   
            <td class="xin_y2">
                凭证数量:
            </td>
            <td>
                <yncWeb:yncTextBox ID="txtNoSapReceiptCount" runat="server" Required="true" ValidateType="Digit"></yncWeb:yncTextBox>
            </td>   
        </tr>
        <tr>
            <td class="xin_y2">
                文档索引号(起始):
            </td>
            <td>
                <yncWeb:yncTextBox ID="txtHisIndexStart" runat="server" Required="true"></yncWeb:yncTextBox>
            </td>
            <td class="xin_y2">
                文档索引号(截至):
            </td>
            <td>
                <yncWeb:yncTextBox ID="txtHisIndexEnd" runat="server" Required="true"></yncWeb:yncTextBox>
            </td>            
        </tr>
        <tr>
            <td class="xin_y2">
                文档日期(起始):
            </td>
            <td>
                <yncWebDDL:DrpYear ID="drpHisDocumentYearStart" runat="server"  Required="true">
                </yncWebDDL:DrpYear>
                <yncWebDDL:DrpMonth ID="drpHisDocumentMonthStart" runat="server"  Required="true">
                </yncWebDDL:DrpMonth>
                <yncWebDDL:DrpDay ID="drpHisDocumentDayStart" runat="server">
                </yncWebDDL:DrpDay>
            </td>
            <td class="xin_y2">
                文档日期(截至):
            </td>
            <td>
                <yncWebDDL:DrpYear ID="drpHisDocumentYearEnd" runat="server"  Required="true">
                </yncWebDDL:DrpYear>
                <yncWebDDL:DrpMonth ID="drpHisDocumentMonthEnd" runat="server"  Required="true">
                </yncWebDDL:DrpMonth>
                <yncWebDDL:DrpDay ID="drpHisDocumentDayEnd" runat="server" >
                </yncWebDDL:DrpDay>
            </td>            
        </tr>
        <tr>
            <td class="xin_y2">
                公司:
            </td>
            <td>
                <yncWebDDL:DrpCompany ID="drpCompany" runat="server" Required="true"  ShowSelectedItem="true">
                </yncWebDDL:DrpCompany>
            </td>
            <td class="xin_y2">
                职能部门:
            </td>
            <td>
                <yncWebDDL:DrpCodeTable ID="drpFunctionDept" runat="server" Category="CTE001" Required="true" ShowSelectedItem="true">
                </yncWebDDL:DrpCodeTable>
            </td> 
        </tr>
        <tr>            
            <td class="xin_y2">
                实物存储地点:
            </td>
            <td>
                <yncWebDDL:DrpThirdUnit ID="drpThirdUnit" runat="server" Required="true" ShowSelectedItem="true">
                </yncWebDDL:DrpThirdUnit>
            </td>
             <td class="xin_y2">
                电子存储状态:
            </td>
            <td>
                <yncWebDDL:DrpCodeTable ID="drpEStorageStatus" runat="server" Category="CTE010" Required="true" ShowSelectedItem="true">
                </yncWebDDL:DrpCodeTable>
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
                电子存储地点:
            </td>
            <td>
                <yncWeb:yncTextBox ID="txtEStorageLocation" runat="server" Required="true"></yncWeb:yncTextBox>
            </td>
            <td class="xin_y2">
                凭证负责人:
            </td>
            <td colspan="3">
                <yncWebDDL:DrpUsers ID="drpManageUser" runat="server" Required="true" ShowSelectedItem="true">
                </yncWebDDL:DrpUsers>
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
                应保管期限:
            </td>
            <td colspan="3">
                <yncWeb:yncTextBox ID="txtNeedStoreYear" runat="server" Required="true"></yncWeb:yncTextBox>
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
                备注:
            </td>
            <td colspan="3">
                <yncWeb:yncTextBox ID="txtComments" runat="server" MaxValueLength="500" TextMode="MultiLine"
                    Width="600" Height="60" placeholder="不超过500字"></yncWeb:yncTextBox>
            </td>
            <%--<td class="xin_y2">
                初次入库日期:
            </td>
            <td>
              <input class="Wdate textBox" style="width: 180px;" runat="server" readonly="readonly"
                        type="text" id="txtFirstStorageDate" clientidmode="Static" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'txtEndate\')||$dp.$DV(\'9998-12-31\')}'})" />
            </td>--%>
        </tr>
       <%-- <tr>
            
        </tr>--%>
        <tr>
            <td colspan="4" align="right">
                <asp:Button ID="btnSave" runat="server" Text="确认" OnClick="btnSave_Click" />
                <input type="button" value="关闭" onclick="javascript: window.top.CloseDialog(false);" />
            </td>
        </tr>
        <tr>
            <td colspan="4" align="center" height="24px">
                <asp:Label ID="lbMessage" runat="server" ForeColor="Red" Text="&nbsp;" Font-Bold="true" />
            </td>
        </tr>
    </table>
    
    <script type="text/javascript" src="<%=ResolveUrl("~/Scripts/Controls/chosen.jquery.min.js")%>"></script>    
    <script type="text/javascript">
        $(function () {
            $("#<%=drpManageUser.ClientID %>").css('width', '212px').chosen({
                max_selected_options: 1,
                no_results_text: "No Datas",
                search_contains: true,
                allow_single_deselect: false
            });
        });

        $(function () {
            $("#<%=drpVoucherDescription.ClientID %>").css('width', '212px').chosen({
                max_selected_options: 1,
                no_results_text: "No Datas",
                search_contains: true,
                allow_single_deselect: false
            });
        });

        $(function () {
            $("#<%=drpCompany.ClientID %>").css('width', '212px').chosen({
                max_selected_options: 1,
                no_results_text: "No Datas",
                search_contains: true,
                allow_single_deselect: false
            });
        });
    </script>  
    <script type="text/javascript">
        var index;
        function showNew() {
            alert("NoSAP财务凭证信息添加成功！");
            window.location.href = "NoSAPFin001.aspx";
        }
    </script>  
</asp:Content>


